snapshot: Annotate child_bounds parameter of push_repeat as nullable
authorTimm Bäder <mail@baedert.org>
Sat, 10 Aug 2019 06:43:44 +0000 (08:43 +0200)
committerTimm Bäder <mail@baedert.org>
Sat, 10 Aug 2019 17:51:45 +0000 (19:51 +0200)
gtk/gtksnapshot.c

index 96cbcf2604e2824fb1842f738f2dcb910c330697..8925672f18be96077cde5c7c1e54c7f9056d9eef 100644 (file)
@@ -615,7 +615,8 @@ gtk_snapshot_ensure_identity (GtkSnapshot *snapshot)
  * gtk_snapshot_push_repeat:
  * @snapshot: a #GtkSnapshot
  * @bounds: the bounds within which to repeat
- * @child_bounds: the bounds of the child
+ * @child_bounds: (nullable): the bounds of the child or %NULL
+ *   to use the full size of the collected child node
  *
  * Creates a node that repeats the child node.
  *